package com.qingcheng.service.order;
import com.qingcheng.entity.PageResult;
import com.qingcheng.pojo.order.Order;
import com.qingcheng.pojo.order.OrderAndItems;

import java.util.*;

/**
 * order业务逻辑层
 */
public interface OrderService {


    public List<Order> findAll();


    public PageResult<Order> findPage(int page, int size);


    public List<Order> findList(Map<String,Object> searchMap);


    public PageResult<Order> findPage(Map<String,Object> searchMap,int page, int size);


    public Order findById(String id);

     Map<String, Object> add(Order order);


    public void update(Order order);


    public void delete(String id);

    OrderAndItems findOrderAndItemsById(String id);

    List<Order> unConsign(String consignStatus,int[] ids);

    void batchSend(List<Order> orders);

    void orderTimeOutLogic();

    void mergeOrder(String id1, String id2);

    void orderCount();

    void test00();

}
